package com.fc.remoting.client;

import com.alibaba.fastjson.JSONObject;

public interface IRemotingCallBack<I> {
	
	public void onConnected();
	
	public void onMessageRecived(Class<? extends I> message);
	
	public void onMessageRecived(JSONObject message);
	
	public void onDisConnected();
}
